package com.zxd.admin.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author xudongzhou
 * @date 2022 -07 -25
 * @description
 */
@FeignClient(value="login-service")
public interface LoginFeignClients {

    @PostMapping("/record-login")
    void addLoginLog(Integer userId);
}
